Welcome |
您所在的位置:网站首页 › kotlin date › Welcome |
Welcome Ktor is a framework to easily build connected applications – web applications, HTTP services, mobile and browser applications. Modern connected applications need to be asynchronous to provide the best experience to users, and Kotlin coroutines provide awesome facilities to do it in an easy and straightforward way. The goal of Ktor is to provide an end-to-end multiplatform framework for connected applications. Getting started Creating a new Ktor project Creating HTTP APIs Creating an interactive website Creating a WebSocket chat Configuring a server Adding Ktor dependencies Creating a server Configuring a server in code or in a file Plugins Routing Routing Type-safe routing Application structure Handling requests Sending responses Serving static content Plugins Content negotiation and serialization Templating Authentication and authorization Sessions WebSockets Swagger UI/OpenAPI Custom plugins Running, debugging, and testing Running Auto-reload Testing Deployment Creating Fat JARs WAR GraalVM Docker Google App Engine Heroku Getting started Creating a client application Creating a WebSocket chat client Creating a cross-platform mobile application Setting up the client Adding client dependencies Creating and configuring a client Engines Plugins Requests Making requests Type-safe requests Default request Retrying failed requests Responses Receiving responses Response validation Plugins Content negotiation and serialization Authentication and authorization Cookies Content encoding Caching WebSockets Custom plugins Testing Testing API Docs Last modified: 03 January 2023 Creating a new Ktor project |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |